package com.cloudpolice.door.feignInterface;

import com.cloudpolice.door.model.RoomDto;
import lh.model.ResultVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author ：梁昊，后端工程师：卢春龙，前端工程师：孙耀
 * @create 2020-04-22 21:18
 * @function
 * @editLog
 */
@Repository
@FeignClient(value = "information-mucon/roomController")
public interface RoomInterFace {
    @PostMapping("/getRoom")
    ResultVO getRoom(@RequestBody RoomDto roomDto);
}

